<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page import="com.lk.entity.*"%>
<%@ page import="com.lk.dao.*" %>
<%@ page import="com.lk.utils.*" %>
<%@ page import="com.lk.entity.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
<meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
  <meta charset="UTF-8">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <title>数码在线</title>
</head>
<body>
    <form action="/userPage" method="post">
        <input type="text" size="30" name="keyword" placeholder="请输入搜索关键字">
        <input type="submit" value="搜"/>
    </form>
    <a href="userAdd.html">新增用户</a>
    <a href="userDelete.html">删除用户</a>
    <table border="1px">
      <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>操作</th>
      </tr>
        <c:forEach items="${list}" var="u">
          <tr>     <!-- el表达式 -->
                <td>${u.userId}</td>
                <td>${u.userName}</td>
                <td>${u.password}</td>
           </tr>
        </c:forEach>
   </table>
</body>
</html>  